package com.buddy.design.pattern._03proxy.jdk;

import com.buddy.design.pattern._03proxy.Person;

public class Zhangsan implements Person {

    private String sex = "M";
    private String name ="张三";

    @Override
    public void findLove() {
        System.out.println(this.name+":"+this.sex);
        System.out.println("高富帅");
        System.out.println("有房有车");
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
